package com.gxp.system.domain.dto.exp;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 实验数据
 */

public class Exp {

	/**
	 * 唯一编码
	 */
	private String code;
	/**
	 * 创建时间
	 */
	private String createdate;
	/**
	 * 采样后自动数据处理选项
	 */
	private String dataprocflag;
	/**
	 * 实验目录
	 */
	private String directory;
	/**
	 * 实验结束时间  (yyyy-MM-dd HH:mm:ss)
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date enddate;
	/**
	 * 执行脚本的位置
	 */
	private String exeScripAfter;
	/**
	 * 实验模板
	 */
	private String experiment;
	/**
	 * 实验参数
	 */
	private String expparams;
	/**
	 * 实验总耗时
	 */
	private Long exptime;
	/**
	 * 文件名称
	 */
	private String file;
	/**
	 * 是否增益
	 */
	private Boolean gain;
	/**
	 * 是否仪器控制（控温、旋转配置）
	 */
	private Boolean instctrl;
	/**
	 * false|false|25|300|40|false|false
	 * 仪器控制选项“是否控温/是否旋转/目标值/最大等待时间/稳定时长/是否停止控温/是否停止旋转”
	 */
	private String instctrlflag;
	/**
	 * 是否优先
	 */
	private Boolean ispriority;
	/**
	 * 是否锁场
	 */
	private Boolean lock;
	/**
	 * 实验名称
	 */
	private String name;
	/**
	 * 文件内部路径
	 */
	private String path;
	/**
	 * 间接维
	 */
	private Boolean reference1;
	/**
	 * 直接维
	 */
	private Boolean reference2;
	/**
	 * 组合实验脚本
	 */
	private String script;
	/**
	 * 脚本名
	 */
	private String scriptName;
	/**
	 * 是否匀场
	 */
	private Boolean shim;
	/**
	 * 梯度匀场后的匀场动作
	 */
	private String shimflag;
	/**
	 * 实验溶剂
	 */
	private String solvent;
	/**
	 * 实验开始时间   (yyyy-MM-dd HH:mm:ss)
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startdate;
	/**
	 * 实验状态
	 */
	private Long status;
	/**
	 * 组合实验目标实验nmr路径
	 */
	private String target;
	/**
	 * 实验title
	 */
	private String title;
	/**
	 * 是否自动调谐
	 */
	private Boolean tune;
	/**
	 * 用户名称
	 */
	private String user;


	public void setCode (String code){
		this.code=code;
	}
	public String getCode(){
		return code;
	}
	public void setCreatedate (String createdate){
		this.createdate=createdate;
	}
	public String getCreatedate(){
		return createdate;
	}
	public void setDataprocflag (String dataprocflag){
		this.dataprocflag=dataprocflag;
	}
	public String getDataprocflag(){
		return dataprocflag;
	}
	public void setDirectory (String directory){
		this.directory=directory;
	}
	public String getDirectory(){
		return directory;
	}
	public void setEnddate (Date enddate){
		this.enddate=enddate;
	}
	public Date getEnddate(){
		return enddate;
	}
	public void setExeScripAfter (String exeScripAfter){
		this.exeScripAfter=exeScripAfter;
	}
	public String getExeScripAfter(){
		return exeScripAfter;
	}
	public void setExperiment (String experiment){
		this.experiment=experiment;
	}
	public String getExperiment(){
		return experiment;
	}
	public void setExpparams (String expparams){
		this.expparams=expparams;
	}
	public String getExpparams(){
		return expparams;
	}
	public void setExptime (Long exptime){
		this.exptime=exptime;
	}
	public Long getExptime(){
		return exptime;
	}
	public void setFile (String file){
		this.file=file;
	}
	public String getFile(){
		return file;
	}
	public void setGain (Boolean gain){
		this.gain=gain;
	}
	public Boolean getGain(){
		return gain;
	}
	public void setInstctrl (Boolean instctrl){
		this.instctrl=instctrl;
	}
	public Boolean getInstctrl(){
		return instctrl;
	}
	public void setInstctrlflag (String instctrlflag){
		this.instctrlflag=instctrlflag;
	}
	public String getInstctrlflag(){
		return instctrlflag;
	}
	public void setIspriority (Boolean ispriority){
		this.ispriority=ispriority;
	}
	public Boolean getIspriority(){
		return ispriority;
	}
	public void setLock (Boolean lock){
		this.lock=lock;
	}
	public Boolean getLock(){
		return lock;
	}
	public void setName (String name){
		this.name=name;
	}
	public String getName(){
		return name;
	}
	public void setPath (String path){
		this.path=path;
	}
	public String getPath(){
		return path;
	}
	public void setReference1 (Boolean reference1){
		this.reference1=reference1;
	}
	public Boolean getReference1(){
		return reference1;
	}
	public void setReference2 (Boolean reference2){
		this.reference2=reference2;
	}
	public Boolean getReference2(){
		return reference2;
	}
	public void setScript (String script){
		this.script=script;
	}
	public String getScript(){
		return script;
	}
	public void setScriptName (String scriptName){
		this.scriptName=scriptName;
	}
	public String getScriptName(){
		return scriptName;
	}
	public void setShim (Boolean shim){
		this.shim=shim;
	}
	public Boolean getShim(){
		return shim;
	}
	public void setShimflag (String shimflag){
		this.shimflag=shimflag;
	}
	public String getShimflag(){
		return shimflag;
	}
	public void setSolvent (String solvent){
		this.solvent=solvent;
	}
	public String getSolvent(){
		return solvent;
	}
	public void setStartdate (Date startdate){
		this.startdate=startdate;
	}
	public Date getStartdate(){
		return startdate;
	}
	public void setStatus (Long status){
		this.status=status;
	}
	public Long getStatus(){
		return status;
	}
	public void setTarget (String target){
		this.target=target;
	}
	public String getTarget(){
		return target;
	}
	public void setTitle (String title){
		this.title=title;
	}
	public String getTitle(){
		return title;
	}
	public void setTune (Boolean tune){
		this.tune=tune;
	}
	public Boolean getTune(){
		return tune;
	}
	public void setUser (String user){
		this.user=user;
	}
	public String getUser(){
		return user;
	}

	@Override
	public String toString() {
		return "Exp{" +
				"code='" + code + '\'' +
				", createdate='" + createdate + '\'' +
				", dataprocflag='" + dataprocflag + '\'' +
				", directory='" + directory + '\'' +
				", enddate='" + enddate + '\'' +
				", exeScripAfter='" + exeScripAfter + '\'' +
				", experiment='" + experiment + '\'' +
				", expparams='" + expparams + '\'' +
				", exptime=" + exptime +
				", file='" + file + '\'' +
				", gain=" + gain +
				", instctrl=" + instctrl +
				", instctrlflag='" + instctrlflag + '\'' +
				", ispriority=" + ispriority +
				", lock=" + lock +
				", name=" + name +
				", path='" + path + '\'' +
				", reference1=" + reference1 +
				", reference2=" + reference2 +
				", script='" + script + '\'' +
				", scriptName='" + scriptName + '\'' +
				", shim=" + shim +
				", shimflag='" + shimflag + '\'' +
				", solvent='" + solvent + '\'' +
				", startdate='" + startdate + '\'' +
				", status=" + status +
				", target='" + target + '\'' +
				", title='" + title + '\'' +
				", tune=" + tune +
				", user='" + user + '\'' +
				'}';
	}
}